package com.awccis.admin.model.sorder;

import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @author: txp
 * @date: 2018/5/30 on 下午12:12
 * @since: 1.0
 * @description:
 */
@Component("serviceOrder")
public class ServiceOrderBean {

    private int serviceOrderId;
    private int serviceId;
    private int customerId;
    private String customerName;
    private String customerPhone;
    private Date serviceOrderStartTime;
    private Date serviceOrderEndTime;
    private String serviceOrderInfo;
    private double serviceOrderMoney;
    private String serviceOrderPhone;
    private String serviceOrderOperator;
    private Date serviceOrderOperateTime;
    private String serviceOrderDealPhone;
    private String serviceOrderDealName;
    private int merchantId;
    private String serviceName;
    private String merchantName;
    private String merchantPhone;
    private double servicePrice;//这一种类的基础抽成比例
    private double sorderRatio;
    private int statusId;//-1 表示没有办法接单， 1 表示还未受理 2 表示正在进行中 3 表示已经结束

    public int getServiceOrderId() {
        return serviceOrderId;
    }

    public void setServiceOrderId(int serviceOrderId) {
        this.serviceOrderId = serviceOrderId;
    }

    public int getServiceId() {
        return serviceId;
    }

    public void setServiceId(int serviceId) {
        this.serviceId = serviceId;
    }

    public int getCustomerId() {
        return customerId;
    }

    public void setCustomerId(int customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    public Date getServiceOrderStartTime() {
        return serviceOrderStartTime;
    }

    public void setServiceOrderStartTime(Date serviceOrderStartTime) {
        this.serviceOrderStartTime = serviceOrderStartTime;
    }

    public Date getServiceOrderEndTime() {
        return serviceOrderEndTime;
    }

    public void setServiceOrderEndTime(Date serviceOrderEndTime) {
        this.serviceOrderEndTime = serviceOrderEndTime;
    }

    public String getServiceOrderInfo() {
        return serviceOrderInfo;
    }

    public void setServiceOrderInfo(String serviceOrderInfo) {
        this.serviceOrderInfo = serviceOrderInfo;
    }

    public double getServiceOrderMoney() {
        return serviceOrderMoney;
    }

    public void setServiceOrderMoney(double serviceOrderMoney) {
        this.serviceOrderMoney = serviceOrderMoney;
    }

    public String getServiceOrderPhone() {
        return serviceOrderPhone;
    }

    public void setServiceOrderPhone(String serviceOrderPhone) {
        this.serviceOrderPhone = serviceOrderPhone;
    }

    public String getServiceOrderOperator() {
        return serviceOrderOperator;
    }

    public void setServiceOrderOperator(String serviceOrderOperator) {
        this.serviceOrderOperator = serviceOrderOperator;
    }

    public Date getServiceOrderOperateTime() {
        return serviceOrderOperateTime;
    }

    public void setServiceOrderOperateTime(Date serviceOrderOperateTime) {
        this.serviceOrderOperateTime = serviceOrderOperateTime;
    }

    public String getServiceOrderDealPhone() {
        return serviceOrderDealPhone;
    }

    public void setServiceOrderDealPhone(String serviceOrderDealPhone) {
        this.serviceOrderDealPhone = serviceOrderDealPhone;
    }

    public String getServiceOrderDealName() {
        return serviceOrderDealName;
    }

    public void setServiceOrderDealName(String serviceOrderDealName) {
        this.serviceOrderDealName = serviceOrderDealName;
    }

    public int getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(int merchantId) {
        this.merchantId = merchantId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getMerchantPhone() {
        return merchantPhone;
    }

    public void setMerchantPhone(String merchantPhone) {
        this.merchantPhone = merchantPhone;
    }

    public double getServicePrice() {
        return servicePrice;
    }

    public void setServicePrice(double servicePrice) {
        this.servicePrice = servicePrice;
    }

    public double getSorderRatio() {
        return sorderRatio;
    }

    public void setSorderRatio(double sorderRatio) {
        this.sorderRatio = sorderRatio;
    }

    public int getStatusId() {
        return statusId;
    }

    public void setStatusId(int statusId) {
        this.statusId = statusId;
    }

    @Override
    public String toString() {
        return "ServiceOrderBean{" +
                "serviceOrderId=" + serviceOrderId +
                ", serviceId=" + serviceId +
                ", customerId=" + customerId +
                ", customerName='" + customerName + '\'' +
                ", customerPhone='" + customerPhone + '\'' +
                ", serviceOrderStartTime=" + serviceOrderStartTime +
                ", serviceOrderEndTime=" + serviceOrderEndTime +
                ", serviceOrderInfo='" + serviceOrderInfo + '\'' +
                ", serviceOrderMoney=" + serviceOrderMoney +
                ", serviceOrderPhone='" + serviceOrderPhone + '\'' +
                ", serviceOrderOperator='" + serviceOrderOperator + '\'' +
                ", serviceOrderOperateTime=" + serviceOrderOperateTime +
                ", serviceOrderDealPhone='" + serviceOrderDealPhone + '\'' +
                ", serviceOrderDealName='" + serviceOrderDealName + '\'' +
                ", merchantId=" + merchantId +
                ", serviceName='" + serviceName + '\'' +
                ", merchantName='" + merchantName + '\'' +
                ", merchantPhone='" + merchantPhone + '\'' +
                ", servicePrice=" + servicePrice +
                ", sorderRatio=" + sorderRatio +
                ", statusId=" + statusId +
                '}';
    }
}
